$(function(){
	
})

function save1(){
	alert("aaaaaaaaaaa");
	
	var name=$("#J_realname-mask").val();
	var number=$("#J_phone-mask").val();
	var sex=$(".except").val();
	var birthday=$("#J_Year").val()+$("#J_Month").val()+$("#J_Date").val();
	
	 $.get("/tbpoject/personinfo/addpersoninfo",{"name":name,"sex":sex,"birthday":birthday,"number":number},function(item){
			
		 if(item=="ok"){
				alert("cccc");
				alert("保存成功");
			}
			
	 })		
}
function save(){

	var name=$("#J_realname-mask").val();
	var number=$("#J_phone-mask").val();
	var sex=$(".except").val();
	var birthday=$("#J_Year").val()+$("#J_Month").val()+$("#J_Date").val();
	$.post("/tbpoject/personinfo/test",{"name":name,"sex":sex,"birthday":birthday,"number":number},function(data){
		if(data=="ok"){
			alert("保存成功！");
		}
	})
}